package com.tingfeng.model;

import javax.validation.constraints.NotNull;

public class UserUpdateReq {

    @NotNull(message = "id 不能为空")
    private String id;

    @NotNull(message = "name 不能为空")
    private String name;

    @NotNull(message = "sex 不能为空")
    private Integer sex;

    private Integer age;
    private String Job;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getJob() {
        return Job;
    }

    public void setJob(String job) {
        Job = job;
    }
}
